package com.kitty.domain;

public class Person implements EntityObject {
	private int id;
	private int version;
	
	private int name;
	private int password;
	
	private PersonRepository personRepository = new PersonRepository();
	public int getId() {
		
		return 0;
	}

	public int getVersion() {
		
		return 0;
	}
	
	public void process() {
		this.personRepository.findById(23); //初始化自身信息，
		
		//进行业务规则计算，
	}
	

}
